home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / MySQL.lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  23.9 KB  |  1,011 lines

  1. object SyntAnal53: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Default'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clWindowText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       FormatType = ftCustomFont
  11.     end
  12.     item
  13.       DisplayName = 'Identifier'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clWindowText
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = []
  19.     end
  20.     item
  21.       DisplayName = 'Reserved words MySQL '
  22.       Font.Charset = DEFAULT_CHARSET
  23.       Font.Color = clPurple
  24.       Font.Height = -13
  25.       Font.Name = 'Courier New'
  26.       Font.Style = [fsBold]
  27.       ChangeCase = ccUpper
  28.     end
  29.     item
  30.       DisplayName = 'Reserved word'
  31.       Font.Charset = DEFAULT_CHARSET
  32.       Font.Color = clBlue
  33.       Font.Height = -13
  34.       Font.Name = 'Courier New'
  35.       Font.Style = []
  36.       ChangeCase = ccUpper
  37.     end
  38.     item
  39.       DisplayName = 'Datatypes MySQL'
  40.       Font.Charset = DEFAULT_CHARSET
  41.       Font.Color = clWindowText
  42.       Font.Height = -13
  43.       Font.Name = 'Courier New'
  44.       Font.Style = [fsBold]
  45.     end
  46.     item
  47.       DisplayName = 'String'
  48.       Font.Charset = DEFAULT_CHARSET
  49.       Font.Color = clRed
  50.       Font.Height = -13
  51.       Font.Name = 'Courier New'
  52.       Font.Style = []
  53.     end
  54.     item
  55.       DisplayName = 'Comment'
  56.       Font.Charset = DEFAULT_CHARSET
  57.       Font.Color = clGreen
  58.       Font.Height = -13
  59.       Font.Name = 'Courier New'
  60.       Font.Style = []
  61.     end
  62.     item
  63.       DisplayName = 'Symbol'
  64.       Font.Charset = DEFAULT_CHARSET
  65.       Font.Color = clMaroon
  66.       Font.Height = -13
  67.       Font.Name = 'Courier New'
  68.       Font.Style = []
  69.     end
  70.     item
  71.       DisplayName = 'Number'
  72.       Font.Charset = DEFAULT_CHARSET
  73.       Font.Color = clOlive
  74.       Font.Height = -13
  75.       Font.Name = 'Courier New'
  76.       Font.Style = []
  77.     end
  78.     item
  79.       DisplayName = 'Marked block'
  80.       Font.Charset = DEFAULT_CHARSET
  81.       Font.Color = clHighlightText
  82.       Font.Height = -13
  83.       Font.Name = 'Courier New'
  84.       Font.Style = []
  85.       BgColor = clHighlight
  86.       FormatType = ftColor
  87.     end
  88.     item
  89.       DisplayName = 'Function'
  90.       Font.Charset = DEFAULT_CHARSET
  91.       Font.Color = clMaroon
  92.       Font.Height = -13
  93.       Font.Name = 'Courier New'
  94.       Font.Style = []
  95.       ChangeCase = ccUpper
  96.     end
  97.     item
  98.       DisplayName = 'Table'
  99.       Font.Charset = DEFAULT_CHARSET
  100.       Font.Color = clGreen
  101.       Font.Height = -13
  102.       Font.Name = 'Courier New'
  103.       Font.Style = []
  104.     end
  105.     item
  106.       DisplayName = 'Alias'
  107.       Font.Charset = DEFAULT_CHARSET
  108.       Font.Color = clGreen
  109.       Font.Height = -13
  110.       Font.Name = 'Courier New'
  111.       Font.Style = [fsBold]
  112.     end
  113.     item
  114.       DisplayName = 'Operators'
  115.       Font.Charset = DEFAULT_CHARSET
  116.       Font.Color = clMaroon
  117.       Font.Height = -13
  118.       Font.Name = 'Courier New'
  119.       Font.Style = [fsBold]
  120.     end
  121.     item
  122.       DisplayName = 'Tree (Bold)'
  123.       Font.Charset = DEFAULT_CHARSET
  124.       Font.Color = clWindowText
  125.       Font.Height = -13
  126.       Font.Name = 'Courier New'
  127.       Font.Style = []
  128.     end
  129.     item
  130.       DisplayName = 'Tree (Section)'
  131.       Font.Charset = DEFAULT_CHARSET
  132.       Font.Color = clBlue
  133.       Font.Height = -13
  134.       Font.Name = 'Courier New'
  135.       Font.Style = []
  136.     end
  137.     item
  138.       DisplayName = 'Tree (item)'
  139.       Font.Charset = DEFAULT_CHARSET
  140.       Font.Color = clGreen
  141.       Font.Height = -13
  142.       Font.Name = 'Courier New'
  143.       Font.Style = []
  144.     end
  145.     item
  146.       DisplayName = 'Current Line'
  147.       Font.Charset = DEFAULT_CHARSET
  148.       Font.Color = clWindowText
  149.       Font.Height = -13
  150.       Font.Name = 'Courier New'
  151.       Font.Style = []
  152.       BgColor = 12570036
  153.       FormatType = ftBackGround
  154.     end
  155.     item
  156.       DisplayName = 'Datadictionary MySQL'
  157.       Font.Charset = DEFAULT_CHARSET
  158.       Font.Color = clFuchsia
  159.       Font.Height = -13
  160.       Font.Name = 'Courier New'
  161.       Font.Style = [fsBold]
  162.     end>
  163.   TokenRules = <
  164.     item
  165.       DisplayName = 'String'
  166.       StyleName = 'String'
  167.       TokenType = 4
  168.       Expression = '".*?("|$)'
  169.       ColumnFrom = 0
  170.       ColumnTo = 0
  171.     end
  172.     item
  173.       DisplayName = 'String 2'
  174.       StyleName = 'String'
  175.       TokenType = 4
  176.       Expression = #39'.*?('#39'|$)'
  177.       ColumnFrom = 0
  178.       ColumnTo = 0
  179.     end
  180.     item
  181.       DisplayName = 'Any name'
  182.       StyleName = 'Identifier'
  183.       TokenType = 2
  184.       Expression = '[a-z_]\w*'
  185.       ColumnFrom = 0
  186.       ColumnTo = 0
  187.     end
  188.     item
  189.       DisplayName = 'Float'
  190.       StyleName = 'Number'
  191.       TokenType = 6
  192.       Expression = '\d+\.?\d+e[\+\-]?\d+|\d+\.\d+'
  193.       ColumnFrom = 0
  194.       ColumnTo = 0
  195.     end
  196.     item
  197.       DisplayName = 'Integer'
  198.       StyleName = 'Number'
  199.       TokenType = 5
  200.       Expression = '\d+'
  201.       ColumnFrom = 0
  202.       ColumnTo = 0
  203.     end
  204.     item
  205.       DisplayName = 'Comment'
  206.       StyleName = 'Comment'
  207.       TokenType = 1
  208.       Expression = '(?s)/\*.*?(\*/|\Z)'#13#10
  209.       ColumnFrom = 0
  210.       ColumnTo = 0
  211.     end
  212.     item
  213.       DisplayName = 'Comment 2'
  214.       StyleName = 'Comment'
  215.       TokenType = 1
  216.       Expression = '--.*'
  217.       ColumnFrom = 0
  218.       ColumnTo = 0
  219.     end
  220.     item
  221.       DisplayName = 'Comment 3'
  222.       StyleName = 'Comment'
  223.       TokenType = 1
  224.       Expression = '\#.*'
  225.       ColumnFrom = 0
  226.       ColumnTo = 0
  227.     end
  228.     item
  229.       DisplayName = 'Symbol'
  230.       StyleName = 'Symbol'
  231.       TokenType = 3
  232.       Expression = '[/,\.;:\(\)=<>\+\-]+'
  233.       ColumnFrom = 0
  234.       ColumnTo = 0
  235.     end>
  236.   BlockRules = <
  237.     item
  238.       DisplayName = 'Key words'
  239.       StyleName = 'Reserved word'
  240.       BlockType = btTagDetect
  241.       ConditionList = <
  242.         item
  243.           TagList.Strings = (
  244.             'create'
  245.             'delete'
  246.             'drop'
  247.             'from'
  248.             'group'
  249.             'having'
  250.             'insert'
  251.             'order'
  252.             'select'
  253.             'union'
  254.             'update'
  255.             'values'
  256.             'where')
  257.           TokenTypes = 4
  258.           IgnoreCase = True
  259.         end>
  260.       HighlightPos = cpAny
  261.       TokenType = 10
  262.       IgnoreAsParent = False
  263.     end
  264.     item
  265.       DisplayName = 'Operations'
  266.       StyleName = 'Operators'
  267.       BlockType = btTagDetect
  268.       ConditionList = <
  269.         item
  270.           TagList.Strings = (
  271.             'all'
  272.             'and'
  273.             'any'
  274.             'as'
  275.             'avg'
  276.             'between'
  277.             'by'
  278.             'count'
  279.             'distinct'
  280.             'exists'
  281.             'grant'
  282.             'in'
  283.             'index'
  284.             'inner'
  285.             'is'
  286.             'join'
  287.             'left'
  288.             'like'
  289.             'max'
  290.             'min'
  291.             'not'
  292.             'null'
  293.             'on'
  294.             'option'
  295.             'or'
  296.             'outer'
  297.             'some'
  298.             'table'
  299.             'view')
  300.           TokenTypes = 4
  301.           IgnoreCase = True
  302.         end>
  303.       HighlightPos = cpAny
  304.       TokenType = 11
  305.       IgnoreAsParent = False
  306.     end
  307.     item
  308.       DisplayName = 'Functions'
  309.       StyleName = 'Function'
  310.       BlockType = btTagDetect
  311.       ConditionList = <
  312.         item
  313.           TagList.Strings = (
  314.             'ASIN'
  315.             'ATAN'
  316.             'ATAN2'
  317.             'BENCHMARK'
  318.             'BIN'
  319.             'BINARY'
  320.             'BIT_AND'
  321.             'BIT_COUNT'
  322.             'BIT_LENGTH'
  323.             'BIT_OR'
  324.             'BIT_XOR'
  325.             'CAST'
  326.             'CEIL'
  327.             'CEILING'
  328.             'CHAR_LENGTH'
  329.             'CHARACTER_LENGTH'
  330.             'CHARSET'
  331.             'COALESCE'
  332.             'COERCIBILITY'
  333.             'COLLATION'
  334.             'COMPRESS'
  335.             'CONCAT'
  336.             'CONCAT_WS'
  337.             'CONNECTION_ID'
  338.             'CONV'
  339.             'CONVERT_TZ'
  340.             'COS'
  341.             'COT'
  342.             'CRC32'
  343.             'CURDATE'
  344.             'CURRENT_DATE'
  345.             'CURRENT_TIME'
  346.             'CURRENT_TIMESTAMP'
  347.             'CURRENT_USER'
  348.             'CURTIME'
  349.             'DATABASE'
  350.             'DATE'
  351.             'DATE_ADD'
  352.             'DATE_FORMAT'
  353.             'DATE_SUB'
  354.             'DATEDIFF'
  355.             'DAY'
  356.             'DAYNAME'
  357.             'DAYOFMONTH'
  358.             'DAYOFWEEK'
  359.             'DAYOFYEAR'
  360.             'DECODE'
  361.             'DEFAULT'
  362.             'DEGREES'
  363.             'DES_DECRYPT'
  364.             'DES_ENCRYPT'
  365.             'DIV'
  366.             'ELT'
  367.             'ENCODE'
  368.             'ENCRYPT'
  369.             'EXP'
  370.             'EXPORT_SET'
  371.             'EXTRACT'
  372.             'FIELD'
  373.             'FIND_IN_SET'
  374.             'FLOOR'
  375.             'FORMAT'
  376.             'FOUND_ROWS'
  377.             'FROM_DAYS'
  378.             'FROM_UNIXTIME'
  379.             'GET_FORMAT'
  380.             'GET_LOCK'
  381.             'GREATEST'
  382.             'GROUP_CONCAT'
  383.             'HEX'
  384.             'HOUR'
  385.             'IFNULL'
  386.             'INET_ATON'
  387.             'INET_NTOA'
  388.             'INSTR'
  389.             'INTERVAL'
  390.             'IS NULL'
  391.             'IS_FREE_LOCK'
  392.             'IS_USED_LOCK'
  393.             'ISNULL'
  394.             'LAST_DAY'
  395.             'LAST_INSERT_ID'
  396.             'LCASE'
  397.             'LEAST'
  398.             'LEFT'
  399.             'LENGTH'
  400.             'LOAD_FILE'
  401.             'LOCALTIME'
  402.             'LOCALTIMESTAMP'
  403.             'LOCATE'
  404.             'LOG'
  405.             'LOG10'
  406.             'LOG2'
  407.             'LPAD'
  408.             'LTRIM'
  409.             'MAKE_SET'
  410.             'MAKEDATE'
  411.             'MAKETIME'
  412.             'MASTER_POS_WAIT'
  413.             'MD5'
  414.             'MICROSECOND'
  415.             'MID'
  416.             'MINUTE'
  417.             'MOD'
  418.             'MONTH'
  419.             'MONTHNAME'
  420.             'NAME_CONST'
  421.             'OCT'
  422.             'OCTET_LENGTH'
  423.             'OLD_PASSWORD'
  424.             'PASSWORD'
  425.             'PERIOD_ADD'
  426.             'PERIOD_DIF'
  427.             'PI'
  428.             'POSITION'
  429.             'POW'
  430.             'POWER'
  431.             'QUARTER'
  432.             'QUOTE'
  433.             'RADIANS'
  434.             'RAND'
  435.             'REGEXP'
  436.             'RELEASE_LOCK'
  437.             'REPLACE'
  438.             'REVERSE'
  439.             'RIGHT'
  440.             'RLIKE'
  441.             'ROUND'
  442.             'ROW_COUNT'
  443.             'RPAD'
  444.             'RTRIM'
  445.             'SCHEMA'
  446.             'SEC_TO_TIME'
  447.             'SECOND'
  448.             'SESSION_USER'
  449.             'SHA1'
  450.             'SIGN'
  451.             'SIN'
  452.             'SLEEP'
  453.             'SOUNDEX'
  454.             'SOUNDS'
  455.             'SPACE'
  456.             'SQRT'
  457.             'STD'
  458.             'STDDEV'
  459.             'STDDEV_POP'
  460.             'STDDEV_SAMP'
  461.             'STR_TO_DATE'
  462.             'STRCMP'
  463.             'SUBDATE'
  464.             'SUBSTR'
  465.             'SUBSTRING'
  466.             'SUBSTRING_INDEX'
  467.             'SUBTIME'
  468.             'SYSTEM_USER'
  469.             'TAN'
  470.             'TIME'
  471.             'TIME_FORMAT'
  472.             'TIME_TO_SEC'
  473.             'TIMEDIFF'
  474.             'TIMESTAMP'
  475.             'TIMESTAMPADD'
  476.             'TIMESTAMPDIFF'
  477.             'TO_DAYS'
  478.             'TRIM'
  479.             'UCASE'
  480.             'UNCOMPRESS'
  481.             'UNCOMPRESSED_LENGTH'
  482.             'UNHEX'
  483.             'UNIX_TIMESTAMP'
  484.             'USER'
  485.             'UTC_DATE'
  486.             'UTC_TIME'
  487.             'UTC_TIMESTAMP'
  488.             'UUID'
  489.             'VAR_POP'
  490.             'VAR_SAMP'
  491.             'VARIANCE'
  492.             'WEEK'
  493.             'WEEKDAY'
  494.             'WEEKOFYEAR'
  495.             'XOR'
  496.             'YEAR'
  497.             'YEARWEEK')
  498.           TokenTypes = 4
  499.           IgnoreCase = True
  500.         end>
  501.       HighlightPos = cpAny
  502.       TokenType = 11
  503.       IgnoreAsParent = False
  504.     end
  505.     item
  506.       DisplayName = 'MySQL Reserved words'
  507.       StyleName = 'Reserved words MySQL '
  508.       BlockType = btTagDetect
  509.       ConditionList = <
  510.         item
  511.           TagList.Strings = (
  512.             'CHARACTER'
  513.             'COLLATION'
  514.             'COLUMNS'
  515.             'COMMIT'
  516.             'DESCRIBE'
  517.             'ENGINE'
  518.             'ENGINES'
  519.             'ERRORS'
  520.             'GRANTS'
  521.             'HELP'
  522.             'INNODB '
  523.             'LIMIT'
  524.             'LOGS'
  525.             'MUTEX'
  526.             'OPEN'
  527.             'PRIVILEGES'
  528.             'PROCESSLIST'
  529.             'PROFILE'
  530.             'PROFILES'
  531.             'RELEASE'
  532.             'ROLLBACK'
  533.             'SAVEPOINT'
  534.             'SHOW'
  535.             'START '
  536.             'STATUS'
  537.             'TRANSACTION '
  538.             'USE'
  539.             'VARIABLES')
  540.           TokenTypes = 4
  541.           IgnoreCase = True
  542.         end>
  543.       HighlightPos = cpAny
  544.       TokenType = 11
  545.       IgnoreAsParent = False
  546.     end
  547.     item
  548.       DisplayName = 'MySQL datadictionary'
  549.       StyleName = 'Datadictionary MySQL'
  550.       BlockType = btTagDetect
  551.       ConditionList = <
  552.         item
  553.           TagList.Strings = (
  554.             'CHARACTER_SETS'
  555.             'COLLATION_CHARACTER_SET_APPLICABILITY  '
  556.             'COLLATIONS'
  557.             'COLUMN_PRIVILEGES'
  558.             'COLUMNS'
  559.             'columns_priv'
  560.             'db'
  561.             'func'
  562.             'help_category'
  563.             'help_keyword'
  564.             'help_relation'
  565.             'help_topic'
  566.             'host'
  567.             'KEY_COLUMN_USAGE'
  568.             'proc'
  569.             'procs_priv'
  570.             'ROUTINES'
  571.             'SCHEMA_PRIVILEGES'
  572.             'SCHEMATA'
  573.             'STATISTICS'
  574.             'TABLE_CONSTRAINTS'
  575.             'TABLE_PRIVILEGES'
  576.             'TABLES'
  577.             'Tables_in_information_schema'
  578.             'tables_priv'
  579.             'time_zone'
  580.             'time_zone_leap_second'
  581.             'time_zone_name'
  582.             'time_zone_transition'
  583.             'time_zone_transition_type'
  584.             'TRIGGERS'
  585.             'user'
  586.             'USER_PRIVILEGES'
  587.             'VIEWS')
  588.           TokenTypes = 4
  589.           IgnoreCase = True
  590.         end>
  591.       HighlightPos = cpAny
  592.       TokenType = 11
  593.       IgnoreAsParent = False
  594.     end
  595.     item
  596.       DisplayName = 'MySQL datatypes'
  597.       StyleName = 'Datatypes MySQL'
  598.       BlockType = btTagDetect
  599.       ConditionList = <
  600.         item
  601.           TagList.Strings = (
  602.             'BIGINT'
  603.             'BINARY'
  604.             'BLOB'
  605.             'CHAR'
  606.             'DATE'
  607.             'ENUM'
  608.             'INT'
  609.             'INYTEXT'
  610.             'LONGBLOB'
  611.             'LONGTEXT'
  612.             'MEDIUMBLOB'
  613.             'MEDIUMINT'
  614.             'MEDIUMTEXT'
  615.             'SET'
  616.             'SMALLINT'
  617.             'TEXT'
  618.             'TIME'
  619.             'TIMESTAMP'
  620.             'TINYBLOB'
  621.             'TINYINT'
  622.             'VARBINARY'
  623.             'VARCHAR'
  624.             'YEAR')
  625.           TokenTypes = 4
  626.           IgnoreCase = True
  627.         end>
  628.       HighlightPos = cpAny
  629.       TokenType = 11
  630.       IgnoreAsParent = False
  631.     end
  632.     item
  633.       DisplayName = 'Table or Alias'
  634.       StyleName = 'Table'
  635.       BlockType = btTagDetect
  636.       ConditionList = <
  637.         item
  638.           TagList.Strings = (
  639.             '.')
  640.           TokenTypes = 8
  641.         end
  642.         item
  643.           TokenTypes = 4
  644.         end>
  645.       IdentIndex = 1
  646.       HighlightPos = cpAny
  647.       IgnoreAsParent = False
  648.     end
  649.     item
  650.       DisplayName = 'Alias'
  651.       StyleName = 'Alias'
  652.       BlockName = 'From'
  653.       BlockType = btTagDetect
  654.       ConditionList = <
  655.         item
  656.           TokenTypes = 4
  657.         end
  658.         item
  659.           TagList.Strings = (
  660.             'AS')
  661.           TokenTypes = 2048
  662.           IgnoreCase = True
  663.         end>
  664.       HighlightPos = cpAny
  665.       TokenType = 8
  666.       IgnoreAsParent = False
  667.     end
  668.     item
  669.       DisplayName = 'Alias 2'
  670.       BlockName = 'From'
  671.       BlockType = btTagDetect
  672.       ConditionList = <
  673.         item
  674.           TokenTypes = 4
  675.         end
  676.         item
  677.           TokenTypes = 4
  678.         end>
  679.       HighlightPos = cpAny
  680.       TokenType = 8
  681.       IgnoreAsParent = False
  682.     end
  683.     item
  684.       DisplayName = 'Table'
  685.       StyleName = 'Table'
  686.       BlockName = 'From'
  687.       BlockType = btTagDetect
  688.       ConditionList = <
  689.         item
  690.           TagList.Strings = (
  691.             '.')
  692.           CondType = tcNotEqual
  693.           TokenTypes = 8
  694.         end
  695.         item
  696.           TokenTypes = 4
  697.         end>
  698.       IdentIndex = 1
  699.       HighlightPos = cpAny
  700.       TokenType = 7
  701.       IgnoreAsParent = False
  702.     end
  703.     item
  704.       DisplayName = 'Table to Tree'
  705.       BlockName = 'From'
  706.       ConditionList = <
  707.         item
  708.           TokenTypes = 128
  709.         end
  710.         item
  711.           TagList.Strings = (
  712.             '.')
  713.           CondType = tcNotEqual
  714.           TokenTypes = 8
  715.         end>
  716.       BlockOffset = -1
  717.       NotCollapsed = True
  718.       GroupFmt = 'Used Tables'
  719.       HighlightPos = cpAny
  720.       NoEndRule = True
  721.       TreeItemStyle = 'Tree (item)'
  722.       TreeGroupStyle = 'Tree (Bold)'
  723.       IgnoreAsParent = False
  724.     end
  725.     item
  726.       DisplayName = 'Alias to tree'
  727.       ConditionList = <
  728.         item
  729.           TokenTypes = 256
  730.         end
  731.         item
  732.           CondType = tcNotEqual
  733.           TokenTypes = 2048
  734.         end>
  735.       BlockOffset = 1
  736.       NotCollapsed = True
  737.       NameFmt = '%s-1 = %s0'
  738.       GroupFmt = 'Aliases'
  739.       HighlightPos = cpAny
  740.       NoEndRule = True
  741.       TreeItemStyle = 'Tree (item)'
  742.       TreeGroupStyle = 'Tree (Bold)'
  743.       TreeItemImage = 1
  744.       IgnoreAsParent = False
  745.     end
  746.     item
  747.       DisplayName = 'Alias to Tree 2'
  748.       ConditionList = <
  749.         item
  750.           TokenTypes = 256
  751.         end
  752.         item
  753.           TokenTypes = 2048
  754.         end>
  755.       NotCollapsed = True
  756.       NameFmt = '%s-1 = %s0'
  757.       GroupFmt = 'Aliases'
  758.       HighlightPos = cpAny
  759.       NoEndRule = True
  760.       TreeItemStyle = 'Tree (item)'
  761.       TreeGroupStyle = 'Tree (Bold)'
  762.       TreeItemImage = 1
  763.       IgnoreAsParent = False
  764.     end
  765.     item
  766.       DisplayName = 'Statement start'
  767.       ConditionList = <
  768.         item
  769.           TagList.Strings = (
  770.             'delete'
  771.             'insert'
  772.             'select'
  773.             'update')
  774.           TokenTypes = 1024
  775.           IgnoreCase = True
  776.         end>
  777.       EndOfTextClose = True
  778.       HighlightPos = cpAny
  779.       DrawStaple = True
  780.       CollapseFmt = '%s0 ...'
  781.       SelfClose = True
  782.       TreeItemStyle = 'Tree (Bold)'
  783.       TreeItemImage = 0
  784.       IgnoreAsParent = False
  785.     end
  786.     item
  787.       DisplayName = 'Section End'
  788.       BlockType = btRangeEnd
  789.       ConditionList = <
  790.         item
  791.           TokenTypes = 1024
  792.         end>
  793.       HighlightPos = cpAny
  794.       IgnoreAsParent = False
  795.     end
  796.     item
  797.       DisplayName = 'Database.Table to Tree'
  798.       Enabled = False
  799.       BlockName = 'From'
  800.       ConditionList = <
  801.         item
  802.           TokenTypes = 132
  803.         end
  804.         item
  805.           TagList.Strings = (
  806.             '.')
  807.           TokenTypes = 8
  808.         end
  809.         item
  810.           TokenTypes = 4
  811.         end>
  812.       NotCollapsed = True
  813.       NameFmt = '%s0.%s-2'
  814.       GroupFmt = 'Used Tables'
  815.       HighlightPos = cpAny
  816.       CancelNextRules = True
  817.       NoEndRule = True
  818.       TreeItemStyle = 'Tree (item)'
  819.       TreeGroupStyle = 'Tree (Bold)'
  820.       TreeItemImage = 4
  821.       IgnoreAsParent = False
  822.     end
  823.     item
  824.       DisplayName = 'Select'
  825.       ConditionList = <
  826.         item
  827.           TagList.Strings = (
  828.             'select')
  829.           TokenTypes = 1024
  830.           IgnoreCase = True
  831.         end>
  832.       BlockEnd = 'Section End'
  833.       DisplayInTree = False
  834.       HighlightPos = cpAny
  835.       DrawStaple = True
  836.       CollapseFmt = '%s0 ...'
  837.       IgnoreAsParent = False
  838.     end
  839.     item
  840.       DisplayName = 'From'
  841.       ConditionList = <
  842.         item
  843.           TagList.Strings = (
  844.             'from')
  845.           TokenTypes = 1024
  846.           IgnoreCase = True
  847.         end>
  848.       BlockEnd = 'Section End'
  849.       EndOfTextClose = True
  850.       HighlightPos = cpAny
  851.       DrawStaple = True
  852.       CollapseFmt = '%s0 ...'
  853.       TreeItemStyle = 'Tree (Section)'
  854.       TreeItemImage = 2
  855.       IgnoreAsParent = False
  856.     end
  857.     item
  858.       DisplayName = 'Where'
  859.       ConditionList = <
  860.         item
  861.           TagList.Strings = (
  862.             'where')
  863.           TokenTypes = 1024
  864.           IgnoreCase = True
  865.         end>
  866.       BlockEnd = 'Section End'
  867.       EndOfTextClose = True
  868.       HighlightPos = cpAny
  869.       DrawStaple = True
  870.       CollapseFmt = '%s0 ...'
  871.       SelfClose = True
  872.       TreeItemStyle = 'Tree (Section)'
  873.       TreeItemImage = 2
  874.       IgnoreAsParent = False
  875.     end
  876.     item
  877.       DisplayName = 'Group'
  878.       ConditionList = <
  879.         item
  880.           TagList.Strings = (
  881.             'group')
  882.           TokenTypes = 1024
  883.           IgnoreCase = True
  884.         end>
  885.       BlockEnd = 'Section End'
  886.       EndOfTextClose = True
  887.       HighlightPos = cpAny
  888.       DrawStaple = True
  889.       CollapseFmt = '%s0 ...'
  890.       TreeItemStyle = 'Tree (Section)'
  891.       IgnoreAsParent = False
  892.     end
  893.     item
  894.       DisplayName = 'Order'
  895.       ConditionList = <
  896.         item
  897.           TagList.Strings = (
  898.             'order')
  899.           TokenTypes = 1024
  900.           IgnoreCase = True
  901.         end>
  902.       EndOfTextClose = True
  903.       HighlightPos = cpAny
  904.       DrawStaple = True
  905.       CollapseFmt = '%s0 ...'
  906.       TreeItemStyle = 'Tree (Section)'
  907.       TreeItemImage = 2
  908.       IgnoreAsParent = False
  909.     end
  910.     item
  911.       DisplayName = 'Having'
  912.       ConditionList = <
  913.         item
  914.           TagList.Strings = (
  915.             'having')
  916.           TokenTypes = 1024
  917.           IgnoreCase = True
  918.         end>
  919.       EndOfTextClose = True
  920.       HighlightPos = cpAny
  921.       DrawStaple = True
  922.       CollapseFmt = '%s0 ...'
  923.       TreeItemStyle = 'Tree (Section)'
  924.       TreeItemImage = 2
  925.       IgnoreAsParent = False
  926.     end
  927.     item
  928.       DisplayName = 'drop'
  929.       ConditionList = <
  930.         item
  931.           TagList.Strings = (
  932.             'create'
  933.             'drop')
  934.           TokenTypes = 1024
  935.           IgnoreCase = True
  936.         end>
  937.       BlockEnd = 'drop end'
  938.       EndOfTextClose = True
  939.       HighlightPos = cpAny
  940.       DrawStaple = True
  941.       CollapseFmt = '%s0 ...'
  942.       SelfClose = True
  943.       TreeItemStyle = 'Tree (item)'
  944.       IgnoreAsParent = False
  945.     end
  946.     item
  947.       DisplayName = 'drop end'
  948.       BlockType = btRangeEnd
  949.       ConditionList = <
  950.         item
  951.           TagList.Strings = (
  952.             ';')
  953.         end>
  954.       HighlightPos = cpAny
  955.       IgnoreAsParent = False
  956.     end>
  957.   CodeTemplates = <>
  958.   SubAnalyzers = <>
  959.   SampleText.Strings = (
  960.     ''
  961.     'SELECT c.session , c.username'
  962.     
  963.       'FROM  livehelp_domain_user a , livehelp_users b, livehelp_messag' +
  964.       'es c '
  965.     'WHERE a.id_domain = 29 AND'
  966.     '      a.id_user = b.id AND '
  967.     '      CONCAT(b.firstname, '#39' '#39',b.lastname)   = c.username AND'
  968.     '      DATE_FORMAT(c.datetime,'#39'%m/%Y'#39') ='#39'12/2006'#39
  969.     'GROUP BY c.session'
  970.     'ORDER BY c.session,c.username'
  971.     ''
  972.     '-- Duracion de las charlas por agente x dominio x mes'
  973.     '-- parametros id_domain , mes'
  974.     ''
  975.     
  976.       'SELECT c.session , c.username , TIMEDIFF(max(c.datetime) , min(c' +
  977.       '.datetime)) ,'
  978.     '       DATE_FORMAT(c.datetime,'#39'%m/%d/%Y'#39')'
  979.     
  980.       'FROM  livehelp_domain_user a , livehelp_users b, livehelp_messag' +
  981.       'es c '
  982.     'WHERE a.id_domain = 29 AND'
  983.     '      a.id_user = b.id AND '
  984.     '      CONCAT(b.firstname, '#39' '#39',b.lastname)   = c.username AND'
  985.     '      DATE_FORMAT(c.datetime,'#39'%m%/%Y'#39') ='#39'09/2006'#39
  986.     'GROUP BY c.session'
  987.     'ORDER BY c.username'
  988.     '')
  989.   TokenTypeNames.Strings = (
  990.     'Unknown'
  991.     'Comment'
  992.     'Identifier'
  993.     'Symbol'
  994.     'String'
  995.     'Integer const'
  996.     'Float const'
  997.     'Table name'
  998.     'Alias'
  999.     'Function'
  1000.     'Main KeyWords'
  1001.     'Secondary KeyWords')
  1002.   MarkedBlockStyle = 'Marked block'
  1003.   DefaultStyleName = 'Default'
  1004.   Extentions = 'sql'
  1005.   LexerName = 'MySQL SQL'
  1006.   Internal = True
  1007.   LineComment = '--'
  1008.   Left = 144
  1009.   Top = 184
  1010. end
  1011.